#ifndef USER_MANAGE
#define USER_MANAGE
#include <string>
#include <vector>
#include <fstream>
#include "../log/log.h"
#include "../user/user.h"

class usermanager
{
public:
	bool finduser(std::string ID, user*& ptr);
	std::vector<user> users;
	user* newuser();
	void loaddatabase(std::string location);
	void unloaddatabase();
	std::string databaselocation;
};

#endif